home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw06501-06750.txt / 000075_jgjones@earth.usa.net_Sat May 27 10:07:05 PDT 1995.msg < prev    next >
Text File  |  1995-06-03  |  3KB  |  65 lines

  1. Article: 6576 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:6576
  3. Path: netcom.com!ix.netcom.com!howland.reston.ans.net!Germany.EU.net!EU.net!uunet!earth.usa.net!earth.usa.net!not-for-mail
  4. From: jgjones@earth.usa.net (James Jones/Nibbles and Bits)
  5. Newsgroups: comp.graphics.packages.lightwave
  6. Subject: Re: Shadow-catchers?
  7. Date: 26 May 1995 12:59:08 -0600
  8. Organization: Internet Express (800-592-1240 customer service)
  9. Lines: 51
  10. Message-ID: <3q58ds$7e1@earth.usa.net>
  11. NNTP-Posting-Host: earth.usa.net
  12.  
  13. Jgross@netcom.com said:
  14.  
  15. >> After some more experimentation, I stumbled upon THE SOLUTION:
  16. >>
  17. >>   Need to turn on the "FG Fader Alpha" button in the "Image
  18. >>   Compositing Panel." Otherwise, any non-black shadow-alpha
  19. >>   surface is NOT blocked out by the alpha image.
  20. >
  21. >Oops, I guess I forgot to mention that little detail..... FG Fader 
  22. >doesn't treat the fG image as additive as it usually is (added to the bg 
  23. >colors). Using FG Fader allows you to "clip out the FG "background" with 
  24. >the alpha image, the prob is that any antialiased edges in the FG image 
  25. >may stand out as they have "bits" of the original bg in the antialiased 
  26. >edges that may not match the new bg image that you are comping it
  27. >against...
  28.  
  29.    Yup. Doesn't work as well as I first thought, although the nasty 
  30. edges can be subdued somewhat by antialiasing the composite and using 
  31. soft filter.
  32.    
  33.    An even better solution, just discovered by a fellow LW animator who does 
  34. a LOT of compositing, eliminates the problem with the matte edges and 
  35. preserves the ability to use transparency...
  36.    To wit: (or anyone else who actually finds this subject interesting :)
  37.    1. Render normally, with A-A, saving the RGB and the shadow-alpha 
  38. images. Shadow-alpha surfaces should be black and 100% diffuse.
  39.    2. Render a second pass, with A-A, with the shadow-alpha objects 
  40. dissolved out or cleared from the scene and shadows turned off. i.e.: 
  41. just the foreground objects -- saving JUST the alpha image.
  42.    3. Render a composite (no A-A) of the shadow-alpha image (from step 
  43. 1) as the BG image, and the alpha without shadows (from step 2) as the 
  44. foreground image. Set "Foreground Dissolve" to a suitable percentage: 
  45. towards 0% = lighter shadows, towards 100% = darker shadows. Record as 
  46. an RGB image, NOT alpha.
  47.    4. Use the resulting RGB image from step 3 as the alpha for the 
  48. final composite (no A-A) with the original BG and the foreground RGB 
  49. image from step 1.
  50.    (Don't use either of the Fader Alpha buttons in any of these steps.)
  51.  
  52.    I gave it try, and it works great as a way to control the shadow 
  53. density.
  54.    
  55.    -Jim
  56. James G. Jones
  57. Nibbles & Bits
  58. jgjones@usa.net
  59.  
  60.  
  61. ___
  62. * UniQWK #5134* 
  63.                                                                                                                            
  64.  
  65.